package com.woniu.smallmedical.server.serverimpl;

import com.woniu.smallmedical.entity.Registrationtype;
import com.woniu.smallmedical.mapper.RegistrationtypeMapper;
import com.woniu.smallmedical.server.RegistrationtypeServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RegistrationtypeServerImpl implements RegistrationtypeServer {
    @Autowired
    RegistrationtypeMapper registrationtypeMapper;
    @Override
    public List<Registrationtype> selectRegistrationtype() {
        List<Registrationtype> registrationtypes = registrationtypeMapper.selectRegistrationtype();
        return registrationtypes;
    }
}
